package edu.uoc.tdp.pac4.common.beans;

import java.io.Serializable;
import java.util.Date;


public class S2_2Supplier implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private int id;
	private String nom;
	
	private Date CreationDate;
	private Double DiscountPercentage;
	private Integer QuantityDiscount;
	  

	
	  public S2_2Supplier(){
		  super();
	  }	   
	  
	  public S2_2Supplier(int id,String nom){
			this.id=id;
			this.nom=nom;
		}
	  
	  public S2_2Supplier(Integer supplierID,String name,Date creationDate,Double discountPercentage,Integer quantityDiscount){
		  super();
		  this.id=supplierID;
		  this.nom=name;
		  this.CreationDate=creationDate;
		  this.DiscountPercentage=discountPercentage;
		  this.QuantityDiscount=quantityDiscount;		  
	  }


	  public int getId() {
	        return id;
	    }

	    public String getNom() {
	        return nom;
	    }
	
	    public void setId(int id) {
	        this.id = id;
	    }

	    public void setNom(String nom) {
	        this.nom = nom;
	    }
	  
	    public Integer GetQuantityDiscount(){return QuantityDiscount;}
		 
		public void SetQuantityDiscount(Integer value){QuantityDiscount=value;}
		
		public Double GetDiscountPercentage(){return DiscountPercentage;}
		 
		public void SetDiscountPercentage(Double value){DiscountPercentage=value;}
	  
}
